package com.example.statemachine.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "statemachine")
public class StateMachineProperties {
    /**
     * 是否启用状态转换日志记录
     */
    private boolean enableTransitionLog = true;

    /**
     * 是否异步处理状态变更事件
     */
    private boolean asyncEventProcessing = true;

    /**
     * 状态转换日志表名
     */
    private String logTableName = "state_transition_log";
}